<div class="page-number">
        <!-- First page link -->
       
        <!-- Previous page link -->
    <ul>
        <?php if (isset($this->previous)): ?>
              <span><a href="<?= $this->url(array('page' => $this->previous)); ?>">&lt; Previous</a></span> 
        <?php else: ?>
            <span class="disabled">&lt; Previous</span>
        <?php endif; ?>
        <!-- Numbered page links -->
        
        <?php foreach ($this->pagesInRange as $page): ?>
            <?php if ($page != $this->current): ?>
                <li><a href="<?= $this->url(array('page' => $page)); ?>"><?= $page; ?></a></li>
            <?php else: ?>
                <li><a class="active"><?= $page; ?></a></span></li>
            <?php endif; ?>
        <?php endforeach; ?>
        
        <!-- Next page link -->
        <?php if (isset($this->next)): ?>
              <span><a href="<?= $this->url(array('page' => $this->next)); ?>">Next &gt;</a></span>
        <?php else: ?>
           <span class="disabled">Next &gt;</span>
        <?php endif; ?>
        </ul>
</div>